package com.fhz.day006;

/**
 * 时间:2022/3/25
 *
 * @author msfeng
 * 简述: TODO
 */
public class Book  {

    private final static String TAG = "BookTag";

    @MyAnnotation("haha")
    private String name;
    private String author;


    public Book() {
    }

    public Book(String name) {
        this.name = name;
    }

    private Book(String name, String author) {
        this.name = name;
        this.author = author;
    }

    public String getName() {
        return name;
    }

    private void setName(String name) {
        this.name = name;
    }

    public void setHaHa(Book book){

    }
    public String getAuthor() {
        return author;
    }

    @Deprecated
    public void setAuthor(String author) {
        this.author = author;
    }


}
